package com.itheima.sc.api.order;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.sc.pojo.order.OmsOrder;
import com.itheima.sc.pojo.order.OmsOrderItem;
import com.itheima.sc.pojo.order.OmsOrderOperateHistory;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface OmsOrderApi {


    Page<OmsOrder> listOmsOrder(Integer page, Integer size, Map<String, String> map);

    void deletByIds(List<Long> ids);

    Boolean updateStatusByIds(ArrayList<Long> ids, int i, String note);

    void updateMoneyInfo(Map<String, String> moneyInfoParam);

    void updateNoteById(Map<String, String> map);

    void updateReceiverInfoById(Map<String, String> map);

    OmsOrder getOrderById(Long id);

    List<OmsOrderOperateHistory> getomsOrderOperateHistories(Long orderId);

    List<OmsOrderItem> getOmsOrderItem(Long orderId);

    List<Integer> getOrderStatusByIds(List<Long> ids);

    Boolean delivery(Map<String, String> map);

    void addOperateHistory(OmsOrderOperateHistory omsOrderOperateHistory);
}
